package cn.kw0501.tms.controller;


import cn.kw0501.tms.dao.AdminDao;
import cn.kw0501.tms.utils.JsonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * VIEW 前端控制器
 * </p>
 *
 * @author Aedes
 * @since 2022-11-15
 */
@RestController
@RequestMapping("/api")
public class AdminInfoViewController {
    @Autowired
    AdminDao adminDao;
    @PostMapping("/test")
    public JsonResult test(){

        adminDao.selectById("123");

        return JsonResult.ok("测试接口,专业测试通不通");
    }
}

